package com.zf.test;

import com.zf.rpc.annotation.ServiceScan;
import com.zf.rpc.serializer.CommonSerializer;
import com.zf.rpc.transport.netty.server.NettyServer;

/**
 * @ProjectName: RPC-zhaofeng
 * @Package: com.zf.test
 * @ClassName: NettyTestServer
 * @Author: zf
 * @Description:
 * @Date: 2021/5/8 11:42
 * @Version: 1.0
 */
@ServiceScan
public class NettyTestServer {
    public static void main(String[] args) {

        NettyServer server = new NettyServer("127.0.0.1" , 9999, CommonSerializer.PROTOBUF_SERIALIZER);
        server.start();

    }
}
